package pl.edu.agh.se.carsexpertsystem.fact;


public class WatchingGirlsFact implements Fact {
	
	private double watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy = 0.5;

	public double getWatchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy() {
		return watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy;
	}

	public void setWatchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy(
			double watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy) {
		if (watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy < 0.0 || watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy > 1.0) {
			throw new IllegalArgumentException("just read the damn name");
		}
		this.watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy = watchingGirlsGoingByFrequencyInGirlsWatchedToAllGirlsPassedBy;
	}
}
